﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>InfoJet Service</title>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
    <style>
        td
        {
            font-size: 11px;
            font-family: verdana;
        }
        input
        {
            font-size: 11px;
            font-family: verdana;
        }
    </style>
    <base target="_self">
</head>
<body style='padding: 0; margin: 0;' onload="doLoad()">

    <script>
        //CID 0641 //2010.11.06 //Begin
        var opener = null;
        //CID 0641 //2010.11.06 //End
        function doLoad() {
            document.title = "Insert Picture";
            var parent = window.dialogArguments[0];
            //CID 0641 //2010.11.06 //Begin
            opener = parent;
            UseLocalResources();
            //CID 0641 //2010.11.06 //End
            document.getElementById("LinkPicturePath").value = window.dialogArguments[2];
            window.dialogArguments[1].removeAttribute("linkPicturePath");
        }
        //CID 0641 //2010.11.06 //Begin
        function UseLocalResources() {
            //TODO.
        }
        //CID 0641 //2010.11.06 //End
        function doOK() {
            window.dialogArguments[1].linkPicturePath = "path:" + document.getElementById("LinkPicturePath").value;
            window.close();
        }
    </script>

    <table align="center" height="100%">
        <tr>
            <td>
                <div id='AddressTag' style="display: inline">
                    Address:</div>
            </td>
        </tr>
        <tr>
            <td>
                <input type='text' name='LinkPicturePath' id='LinkPicturePath' style='width: 456px'><br>
                Example: http://www.my-site.com/image.png
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                To remove the picture, delete all text from the Address field.
            </td>
        </tr>
        <tr>
            <td align="right">
                <input type='button' id='buttonOK' value='    OK    ' onclick='doOK();'>&nbsp;&nbsp;<input type='button' id='buttonCancel'
                        value=' Cancel ' onclick='window.close();' id="Button1" name="Button1">
            </td>
        </tr>
    </table>
</body>
</html>
